import { SiftModel } from './sift.model';

export class FirstLevel {
    title: string;            // 名称
    order: number;            // 排序
    active?: any;         // 是否选中
    dropDownList?: SiftModel; // 下级列表
    indexName?: string; // 显示条件
    name?: string; //  字段名
    type?: string; // 筛选类型
    display?: any; // link page city...
    needRememberLast?: boolean; // 是否记录上一次操作
    constructor(
        title: string,
        order: number,
        active?: boolean,
        dropDownList?: SiftModel,
        indexName?: string,
        name?: string,
        type?: string,
        display?: any, // link page city...
        needRememberLast?: boolean
    ) {
        this.title = title;
        this.order = order;
        this.active = active;
        this.dropDownList = dropDownList;
        this.indexName = indexName;
        this.name = name;
        this.type = type;
        this.display = display;
        this.needRememberLast = needRememberLast;
    }
}
